package com.nidu.demo.file.convertor;

import com.nidu.demo.convertor.MapStructConfig;
import com.nidu.demo.file.dto.FilePageQry;
import com.nidu.demo.file.model.FileCriteria;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Component;

/**
 * 文件查询条件转换器
 *
 * @author auto
 */
@Mapper(config = MapStructConfig.class)
public interface FileCriteriaConvertor {

    FileCriteria toDataObject(FilePageQry qry);

}